package com.xuecheng.manage_course.dao;


import com.xuecheng.framework.domain.course.TeachplanMedia;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface  TeachplanMediaRepository extends JpaRepository<TeachplanMedia,String> {
    //Day_15@6: 根据课程id查询列表
    List<TeachplanMedia> findByCourseId (String courseId);

}
